package Ex1;

public class Customer {

	private String phoneNo;
	private String mobileNo;
	private String firstname;
	private String lastname;
	
	public Customer(String phoneNo, String mobileNo, String firstname, String lastname) {
		this.phoneNo = phoneNo;
		this.mobileNo = mobileNo;
		this.firstname = firstname;
		this.lastname = lastname;
	}
	
	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getMobileNo() {
		return mobileNo;
	}

	public void setMobileNo(String mobileNo) {
		this.mobileNo = mobileNo;
	}

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getLastname() {
		return lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	@Override
	public String toString() {
		return phoneNo + " " + mobileNo + " " + firstname + " " + lastname;
	}
}
